package com.example.crossborderecommerce.mapper;

import com.example.crossborderecommerce.entity.FinanceReceipt;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yolanda
 * @since 2024-05-09
 */
@Mapper
public interface FinanceReceiptMapper extends BaseMapper<FinanceReceipt> {
    public Double getTotalCost();
    public Double getTotalCostDuration(String startTime, String endTime);
    public Double getPriceByOrderType(String orderType);
    public Double getPriceByType(String type);

}
